<!doctype html>
<html lang="en">

<head>
	<meta charset="utf-8"/>	
	<link rel="stylesheet" href="/resource/css/layout.css?t=20150808" type="text/css" media="screen" />
	<link rel="stylesheet" href="/resource/css/jdpicker.css" type="text/css" media="screen" />
        <script type="text/javascript" src="/resource/js/common.js"></script>
<{include file="common/style.tpl"}>
</head>

<body>


<section id="spread_one" class="column">

        <article class="module width_3_quarter">
        <header>
            <h3 class="tabs_involved " style="width: 80%">消息列表：总消息数<{$count_total}>; 未读消息数：<{$count_unread}></h3>
        </header>
		<div class="tab_container">
			<div id="tab1" class="tab_content">
			<table class="tablesorter" cellspacing="0"> 
			<thead> 
				<tr> 
                                <th>时间</th> 
                                <th>内容</th>
                                <th>类型</th>
                                <th>状态</th>  
				</tr> 
			</thead> 
			<tbody>
				<{foreach from=$list item = 'v'}> 
					<tr>
                                            <td><{$v.ctime}></td>
                                            
                                            <{if $v.status == 0}>
                                                <td ><a href='/message/content/<{$v.id}>' style='color: #a61717'><{$v.message}></a></td> 
                                                <td><{$v.type}></td>
                                                <td>未读</td>
                                            <{else}>
                                                <td ><a href='/message/content/<{$v.id}>' style='color: #00a0e9'><{$v.message}></a></td> 
                                                <td><{$v.type}></td>
                                                <td>已读</td>
                                            <{/if}>
					</tr> 
				<{/foreach}>
			</tbody> 
			</table>
			</div><!-- end of #tab1 -->
		</div><!-- end of .tab_container -->
		</article><!-- end of content manager article -->
		<div class="clear"></div>
	</section>			
<{include file="common/footer.tpl"}>

